package com.example.manu_facturer_orders.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.manu_facturer_orders.mapper.ManuFacturerOrdersMapper;
import com.example.manu_facturer_orders.pojo.ManuFacturerOrdersVO;
import com.example.manu_facturer_orders.service.ManuFacturerOrdersService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author: tobed
 * @date: 2022/9/7
 * @time: 17:27
 */
@Service
public class ManuFacturerOrdersServiceImpl implements ManuFacturerOrdersService {

    @Autowired
    ManuFacturerOrdersMapper vendorMapper;

    /**
     * 厂商信息全查
     * @return
     */
    @Override
    public Page<ManuFacturerOrdersVO> listVendor(Integer payType, String orderNumber,Integer manuFactureId, Page<ManuFacturerOrdersVO> page) {
        Page<ManuFacturerOrdersVO> list = vendorMapper.listVendor(payType,orderNumber,manuFactureId,page);
        return list;
    }
}
